home *** CD-ROM | disk | FTP | other *** search
- #define SndPlayTrapNum 0x05
- #define PopUpTrapNum 0x0b
- #define DelayTrapNum 0x3b
- #define WNETrapNum 0x60
- #define UnImplTrapNum 0x9f
- #define ScriptsTrapNum 0xb5
- #define CopyBitsTrapNum 0xec
- #define DragGrayTrapNum 0x105
- #define DragWTrapNum 0x125
- #define DragTheTrapNum 0x126
- #define GrowWTrapNum 0x12b
- #define AvailTrapNum 0x171
- #define GetMouseTrapNum 0x172
- #define StillDownTrapNum 0x173
- #define ModalTrapNum 0x191
- #define SysMenuTrapNum 0x1b5
-
- #define filterPatchID 128
- #define replacePatchID 129
- #define eitherPatchID 130
-
- #define patchReturn 0 /* assembly code depends on these */
- #define patchContinue 1
-
- typedef struct patch {
- int branch;
- int count;
- long original;
- long oldPatch;
- long patch;
- long myA5;
- } patch, *patchPtr, **patchHandle;